<style>
    #tableWrap{
        border: 1px solid #333;
        /*overflow: hidden;*/
        /*height: 85vh;*/
    }
    #tableWrap > thead > tr > th{
        border: 1px solid #333;
    }
    #tableWrap > tbody > tr > td{
        border: 1px solid #333;
    }
</style>
<div class="panel-body">
    <div id="myTabContent" class="tab-content">
        <!--@formatter:off-->

        <div class="widget-body no-padding">
            <form id="a1form" class="edit-form form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('property.repertoryss/edits')}">
                <table id="tableWrap" class="table table-striped">
                    <thead>
                    <tr>
                        <th width="8%">序号</th>
                        <th width="20%">入库编号</th>
                        <th width="20%">物品名称</th>
                        <th width="20%">领用人</th>
                        <th width="20%">领用数量</th>
                    </tr>
                    </thead>
                    <tbody>


                    {foreach $row as $index=>$vo}
                    <tr>
                        <td>
                            {$index+1}
                        </td>
                        <td>
                            {$vo.id}
                        </td>
                        <td>
                            {$vo.name}
                        </td>
                        <td>
                            <input type="text" name="row[admin_name][{$vo.id}]" data-rule="required" value="" class="form-control" data-tip="">
                        </td>
                        <td>
                            <input type="text" name="row[count][{$vo.id}]" data-rule="required" value="" class="form-control" data-tip="">
                        </td>
                    </tr>
                    {/foreach}


                    </tbody>
                    <!--<tfoot>-->
                    <!--<tr>-->
                    <!--<td></td>-->
                    <!--<td>-->

                    <!--</td>-->
                    <!--<td></td>-->
                    <!--<td></td>-->
                    <!--</tr>-->
                    <!--</tfoot>-->
                </table>
                <div style="display: flex;justify-content: center">
                <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
                <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                </div>
            </form>
        </div>
        <!--<div class="hide layer-footer">-->
            <!--<label class="control-label col-xs-12 col-sm-2"></label>-->
            <!--<div class="col-xs-12 col-sm-8">-->
                <!--<button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>-->
            <!--</div>-->
        <!--</div>-->
        <!--@formatter:on-->
    </div>
</div>